package cate.game.role.friend.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFriend;
import cate.game.role.RoleSnapshot;
import easy.java.dev.note.NoteField;

import java.util.List;


@ClientMsg(title = "好友推荐 の 返回")
public class FriendRecommendResp implements MsgOutput {

    @NoteField(value = "推荐好友列表")
    public List<RoleSnapshot> list;

    public FriendRecommendResp(List<RoleSnapshot> list) {
        this.list = list;
    }

    public FriendRecommendResp() {}

    @Override
    public MsgConfig conf() {
        return MsgIdBFriend.RECOMMEND_RESP;
    }
}
